package com.example.visitedsys.informationGet;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;


@Data
public class UserEditVO {
    private Long userId;
    @NotBlank(message = "账户名不能为空")
    private String name;

    @NotBlank(message = "用户名不能为空")
    private String userName;
    //用户头像
    private String avater;

    private Integer userSex;

    @NotNull(message = "生日不能为空")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy年MM月dd日")
    private Date userBirth;
    private Integer userAge;
    @NotBlank(message = "电话号码不能为空")
    private String userPhone;
    @NotNull(message = "部门不能为空")
    private Long partId;






}
